package com.ruoyi.expensereimbursement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出差报销对象 reimbursement_business_trip
 * 
 * @author ruoyi
 * @date 2024-09-25
 */
public class ReimbursementBusinessTrip extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报销编号 */
    private Long businessTripId;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long employeeId;

    /** 出差开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出差开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 出差结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出差结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 出差地点 */
    @Excel(name = "出差地点")
    private String businessLocation;

    /** 车船费 */
    @Excel(name = "车船费")
    private Long travelExpenses;

    /** 住宿费 */
    @Excel(name = "住宿费")
    private Long accommodationFee;

    /** 补助费天数 */
    @Excel(name = "补助费天数")
    private Long subsidyDays;

    /** 补助费金额 */
    @Excel(name = "补助费金额")
    private Long subsidyAmount;

    /** 入住地点 */
    @Excel(name = "入住地点")
    private String dutyLocation;

    /** 入住天数 */
    @Excel(name = "入住天数")
    private Long dutyDays;

    /** 入住金额 */
    @Excel(name = "入住金额")
    private Long dutyPayment;

    /** 总计 */
    @Excel(name = "总计")
    private Long totalAmount;

    public void setBusinessTripId(Long businessTripId) 
    {
        this.businessTripId = businessTripId;
    }

    public Long getBusinessTripId() 
    {
        return businessTripId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setBusinessLocation(String businessLocation) 
    {
        this.businessLocation = businessLocation;
    }

    public String getBusinessLocation() 
    {
        return businessLocation;
    }
    public void setTravelExpenses(Long travelExpenses) 
    {
        this.travelExpenses = travelExpenses;
    }

    public Long getTravelExpenses() 
    {
        return travelExpenses;
    }
    public void setAccommodationFee(Long accommodationFee) 
    {
        this.accommodationFee = accommodationFee;
    }

    public Long getAccommodationFee() 
    {
        return accommodationFee;
    }
    public void setSubsidyDays(Long subsidyDays) 
    {
        this.subsidyDays = subsidyDays;
    }

    public Long getSubsidyDays() 
    {
        return subsidyDays;
    }
    public void setSubsidyAmount(Long subsidyAmount) 
    {
        this.subsidyAmount = subsidyAmount;
    }

    public Long getSubsidyAmount() 
    {
        return subsidyAmount;
    }
    public void setDutyLocation(String dutyLocation) 
    {
        this.dutyLocation = dutyLocation;
    }

    public String getDutyLocation() 
    {
        return dutyLocation;
    }
    public void setDutyDays(Long dutyDays) 
    {
        this.dutyDays = dutyDays;
    }

    public Long getDutyDays() 
    {
        return dutyDays;
    }
    public void setDutyPayment(Long dutyPayment) 
    {
        this.dutyPayment = dutyPayment;
    }

    public Long getDutyPayment() 
    {
        return dutyPayment;
    }
    public void setTotalAmount(Long totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public Long getTotalAmount() 
    {
        return totalAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessTripId", getBusinessTripId())
            .append("employeeId", getEmployeeId())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("businessLocation", getBusinessLocation())
            .append("travelExpenses", getTravelExpenses())
            .append("accommodationFee", getAccommodationFee())
            .append("subsidyDays", getSubsidyDays())
            .append("subsidyAmount", getSubsidyAmount())
            .append("dutyLocation", getDutyLocation())
            .append("dutyDays", getDutyDays())
            .append("dutyPayment", getDutyPayment())
            .append("totalAmount", getTotalAmount())
            .toString();
    }
}
